package com.ruoyi.shop.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 商品表 sp_goods
 * 
 * @author ruoyi
 * @date 2018-12-22
 */
public class Goods extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer id;
	/** sku名称 */
	@Excel(name = "skuName")
	private String skuName;
	/** 商品名称 */
    @Excel(name = "goodsName")
	private String goodsName;
	/** 重量(g) */
    @Excel(name = "weight")
	private String weight;
	/** 成本 */
    @Excel(name = "cost")
	private BigDecimal cost;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setSkuName(String skuName) 
	{
		this.skuName = skuName;
	}

	public String getSkuName() 
	{
		return skuName;
	}
	public void setGoodsName(String goodsName) 
	{
		this.goodsName = goodsName;
	}

	public String getGoodsName() 
	{
		return goodsName;
	}


    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("skuName", getSkuName())
            .append("goodsName", getGoodsName())
            .append("weight", getWeight())
            .append("cost", getCost())
            .toString();
    }
}
